Job: core (rust-1)
Runner: g1t, Linux X64 (Debian bookworm, Node 24, Python 3, Go, Rust)
Matrix: {"group":"rust-1","units":"events,work,integrations,packages","rust":true,"image":false}
##[group]G1T_TOKEN permissions
contents: read
metadata: read
##[endgroup]
Checking out flagon-io/g1t into /home/runner/work/repo
[command]git init --quiet
[command]git remote add origin https://g1t.sh/flagon-io/g1t.git
[command]git fetch --no-tags --prune --quiet origin refs/heads/main
[command]git checkout --quiet --force -B main 4ef467f8856abf8db69ce41b3de7f017a7483b0e
Checked out 4ef467f8856abf8db69ce41b3de7f017a7483b0e
##[group]Rust for Workers
rustup target add wasm32-unknown-unknown
##[endgroup]
shell: bash -e /home/runner/_temp/18dca29c464a9eb6.sh
info: component rust-std for target wasm32-unknown-unknown is up to date
Cache restored from key: worker-build-Linux-532237695df81a68b97a8e57585bdb8b1ef467723ff1910933a24f0bcdcd6311 (2.6 MB in 0.3s)
Cache restored from key: worker-build-tools-Linux-532237695df81a68b97a8e57585bdb8b1ef467723ff1910933a24f0bcdcd6311 (115.1 MB in 5.4s)
Cache restored from key: cargo-crates-Linux-afaf53b999003c32e768d881f48250ecb2fc6f9c2f24776ba6e21e8aca3863fe (65.0 MB in 1.5s)
Cache restored from key: cargo-target-Linux-rust-1-3d035db4811946dbb56fb08af27c5c0f698630f063bc6e39b0782d88a9f3eceb (128.7 MB in 7.4s)
##[group]sccache
bash scripts/sccache.sh install
##[endgroup]
shell: bash -e /home/runner/_temp/18dfa2a045d54cab.sh
sccache: Starting the server...
sccache: Listening on address 127.0.0.1:4226
sccache 0.18.0: rustc goes through it from here on, cached in this repository's Actions cache.
##[group]Install
node scripts/deploy.mjs install --only "events,work,integrations,packages"
##[endgroup]
shell: bash -e /home/runner/_temp/18dea2a0eeabc1fd.sh
npm ci --no-audit --no-fund --workspaces=false

added 39 packages in 12s
npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts:
npm warn install-scripts   esbuild@0.28.1 (postinstall: node install.js)
npm warn install-scripts   workerd@1.20261001.1 (postinstall: node install.js)
npm warn install-scripts
npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
##[group]Deploy events,work,integrations,packages
node scripts/deploy.mjs deploy --only "events,work,integrations,packages" --force --no-migrations --concurrency 2
##[endgroup]
shell: bash -e /home/runner/_temp/18d9a2a43428e9e4.sh
Deploying 4ef467f8856a (The advisories a repository publishes live in security_advisories: the security database already had an advisories table, its cache of OSV advisories, so the migration for repository advisories stopped at its first statement on deploy.)

unit          stage  action  live          migrations  why
------------  -----  ------  ------------  ----------  -------------------------------------------------------------------------
events        core   deploy  d0fd07e23f54  -           15 changed files (services/events/migrations/0009_security_digest.sql)
work          core   deploy  d0fd07e23f54  -           9 changed files (crates/contracts/src/advisories.rs via crates/contracts)
integrations  core   deploy  d0fd07e23f54  -           9 changed files (crates/contracts/src/advisories.rs via crates/contracts)
packages      core   deploy  d0fd07e23f54  -           9 changed files (crates/contracts/src/advisories.rs via crates/contracts)

4 to deploy: core (events, work, integrations, packages)
== core: events, work, integrations, packages
[work]  ⛅️ wrangler 4.146.0
[work] ────────────────────
[events]  ⛅️ wrangler 4.146.0
[events] ────────────────────
[work] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[events] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[work] [custom build] [INFO]: Checking for the Wasm target...
[work] [custom build] 
[events] [custom build] [INFO]: Checking for the Wasm target...
[events] [custom build] 
[work] [custom build] [INFO]: Compiling to Wasm...
[work] [custom build] 
[events] [custom build] [INFO]: Compiling to Wasm...
[events] [custom build] 
[events] [custom build]     Blocking waiting for file lock on package cache
[events] [custom build] 
[work] [custom build]     Blocking waiting for file lock on package cache
[work] [custom build] 
[events] [custom build]     Blocking waiting for file lock on package cache
[events] [custom build] 
[work] [custom build]     Blocking waiting for file lock on package cache
[work] [custom build] 
[events] [custom build]     Blocking waiting for file lock on package cache
[events] [custom build] 
[work] [custom build]     Blocking waiting for file lock on package cache
[work] [custom build] 
[work] [custom build]     Blocking waiting for file lock on shared package cache
[work] [custom build] 
[work] [custom build]     Blocking waiting for file lock on build directory
[work] [custom build] 
[events] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
[events] [custom build] 
[events] [custom build]    Compiling g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
[events] [custom build] 
[events] [custom build]    Compiling g1t-events v0.1.0 (/home/runner/work/repo/services/events)
[events] [custom build] 
[events] [custom build]     Finished `release` profile [optimized] target(s) in 1m 16s
[events] [custom build] 
[work] [custom build]    Compiling g1t-rules v0.1.0 (/home/runner/work/repo/crates/rules)
[work] [custom build] 
[events] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[events] [custom build] 
[events] [custom build] [INFO]: :-)Done in 1m 18s
[events] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/events/build/.tmp.
[events] [custom build] 
[events] [custom build] 
[events] [custom build]   index.js  27.3kb
[events] [custom build] 
[events] [custom build] ⚡ Done in 10ms
[events] [custom build] 
[work] [custom build]    Compiling g1t-work v0.1.0 (/home/runner/work/repo/services/work)
[work] [custom build] 
[events] Total Upload: 1796.90 KiB / gzip: 427.64 KiB
[events] Worker Startup Time: 3 ms
[events] Your Worker has access to the following bindings:
[events] Binding                                         Resource                  
[events] env.BUS (inherited)                             Queue                     
[events] env.SUBSCRIBER_WORK (inherited)                 Queue                     
[events] env.SUBSCRIBER_RUNNER (inherited)               Queue                     
[events] env.SUBSCRIBER_INTEGRATIONS (inherited)         Queue                     
[events] env.SUBSCRIBER_WEBHOOKS (inherited)             Queue                     
[events] env.SUBSCRIBER_ACTIONS (inherited)              Queue                     
[events] env.SUBSCRIBER_DEPLOYMENTS (inherited)          Queue                     
[events] env.SUBSCRIBER_PROJECTS (inherited)             Queue                     
[events] env.SUBSCRIBER_REPOS (inherited)                Queue                     
[events] env.SUBSCRIBER_BILLING (inherited)              Queue                     
[events] env.SUBSCRIBER_SECURITY (inherited)             Queue                     
[events] env.SUBSCRIBER_CONTEXT (inherited)              Queue                     
[events] env.SUBSCRIBER_SEARCH (inherited)               Queue                     
[events] env.SUBSCRIBER_PACKAGES (inherited)             Queue                     
[events] env.SUBSCRIBER_DOCS (inherited)                 Queue                     
[events] env.SUBSCRIBER_AGENTS (inherited)               Queue                     
[events] env.DB (g1t-events)                             D1 Database               
[events] env.BILLING (g1t-billing)                       Worker                    
[events] env.WORK (g1t-work)                             Worker                    
[events] env.REPOS (g1t-repos)                           Worker                    
[events] env.IDENTITY (g1t-identity)                     Worker                    
[events] env.NOTIFY (g1t-notify)                         Worker                    
[events] env.AUDIT_MAX_DAYS ("400")                      Environment Variable      
[events] env.AUDIT_MIN_DAYS ("7")                        Environment Variable      
[events] Uploaded g1t-events (1.96 sec)
[events] Deployed g1t-events triggers (2.45 sec)
[events]   schedule: 41 3 * * *
[events]   schedule: 0 8 * * *
[events]   Producer for g1t-events
[events]   Producer for g1t-events-work
[events]   Producer for g1t-events-runner
[events]   Producer for g1t-events-integrations
[events]   Producer for g1t-events-webhooks
[events]   Producer for g1t-events-actions
[events]   Producer for g1t-events-deployments
[events]   Producer for g1t-events-projects
[events]   Producer for g1t-events-repos
[events]   Producer for g1t-events-billing
[events]   Producer for g1t-events-security
[events]   Producer for g1t-events-context
[events]   Producer for g1t-events-search
[events]   Producer for g1t-events-packages
[events]   Producer for g1t-events-docs
[events]   Producer for g1t-events-agents
[events]   Consumer for g1t-events
[events] Current Version ID: ade071ac-b2e0-4d0f-8785-b0f967525ef8
[integrations]  ⛅️ wrangler 4.146.0 (update available 4.149.0)
[integrations] ───────────────────────────────────────────────
[integrations] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[integrations] [custom build] [INFO]: Checking for the Wasm target...
[integrations] [custom build] 
[integrations] [custom build] [INFO]: Compiling to Wasm...
[integrations] [custom build] 
[integrations] [custom build]     Blocking waiting for file lock on build directory
[integrations] [custom build] 
[work] [custom build]     Finished `release` profile [optimized] target(s) in 2m 00s
[work] [custom build] 
[integrations] [custom build]    Compiling g1t-secrets v0.1.0 (/home/runner/work/repo/crates/secrets)
[integrations] [custom build] 
[integrations] [custom build]    Compiling g1t-integrations v0.1.0 (/home/runner/work/repo/services/integrations)
[integrations] [custom build] 
[work] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[work] [custom build] 
[work] [custom build] [INFO]: :-)Done in 2m 10s
[work] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/work/build/.tmp.
[work] [custom build] 
[work] [custom build] 
[work] [custom build]   index.js  27.2kb
[work] [custom build] 
[work] [custom build] ⚡ Done in 15ms
[work] [custom build] 
[work] Total Upload: 6974.85 KiB / gzip: 1717.44 KiB
[work] Worker Startup Time: 5 ms
[work] Your Worker has access to the following bindings:
[work] Binding                          Resource         
[work] env.DB (g1t-work)                D1 Database      
[work] env.IDENTITY (g1t-identity)      Worker           
[work] env.REPOS (g1t-repos)            Worker           
[work] env.EVENTS (g1t-events)          Worker           
[work] env.ACTIONS (g1t-actions)        Worker           
[work] Uploaded g1t-work (3.49 sec)
[work] Deployed g1t-work triggers (1.16 sec)
[work]   Consumer for g1t-events-work
[work] Current Version ID: 378ef9d3-f633-4a88-aa44-c453fe0f82a2
[packages]  ⛅️ wrangler 4.146.0
[packages] ────────────────────
[packages] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[packages] [custom build] [INFO]: Checking for the Wasm target...
[packages] [custom build] 
[packages] [custom build] 
[packages] [custom build] [INFO]: Compiling to Wasm...
[packages] [custom build] 
[packages] [custom build] 
[packages] [custom build]     Blocking waiting for file lock on build directory
[packages] [custom build] 
[integrations] [custom build]     Finished `release` profile [optimized] target(s) in 52.28s
[integrations] [custom build] 
[packages] [custom build]    Compiling g1t-blobstore v0.1.0 (/home/runner/work/repo/crates/blobstore)
[packages] [custom build] 
[integrations] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[integrations] [custom build] 
[packages] [custom build]    Compiling g1t-packages v0.1.0 (/home/runner/work/repo/services/packages)
[packages] [custom build] 
[integrations] [custom build] [INFO]: :-)Done in 54.86s
[integrations] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/integrations/build/.tmp.
[integrations] [custom build] 
[integrations] [custom build] 
[integrations] [custom build]   index.js  27.5kb
[integrations] [custom build] 
[integrations] [custom build] ⚡ Done in 11ms
[integrations] [custom build] 
[integrations] Total Upload: 2421.66 KiB / gzip: 590.15 KiB
[integrations] Worker Startup Time: 6 ms
[integrations] Your Worker has access to the following bindings:
[integrations] Binding                                                Resource                  
[integrations] env.DB (g1t-integrations)                              D1 Database               
[integrations] env.IDENTITY (g1t-identity)                            Worker                    
[integrations] env.WORK (g1t-work)                                    Worker                    
[integrations] env.RUNNER (g1t-runner)                                Worker                    
[integrations] env.REPOS (g1t-repos)                                  Worker                    
[integrations] env.EVENTS (g1t-events)                                Worker                    
[integrations] env.API_URL ("https://api.g1t.sh")                     Environment Variable      
[integrations] env.SITE_URL ("https://g1t.sh")                        Environment Variable      
[integrations] env.GITHUB_APP_ID ("5203641")                          Environment Variable      
[integrations] env.GITHUB_APP_SLUG ("g1t-sh")                         Environment Variable      
[integrations] env.GITHUB_APP_CLIENT_ID ("Iv23liZS94alfjIUn1eW")      Environment Variable      
[integrations] Uploaded g1t-integrations (1.72 sec)
[integrations] Deployed g1t-integrations triggers (0.90 sec)
[integrations]   schedule: * * * * *
[integrations]   Consumer for g1t-events-integrations
[integrations] Current Version ID: f7a23122-dbac-4904-b07f-b799c178a153
[packages] [custom build] warning: variant `Bytes` is never constructed
[packages] [custom build]   --> services/packages/src/marshal.rs:26:5
[packages] [custom build]    |
[packages] [custom build] 18 | pub enum Value {
[packages] [custom build]    |          ----- variant in this enum
[packages] [custom build] ...
[packages] [custom build] 26 |     Bytes(Vec<u8>),
[packages] [custom build]    |     ^^^^^
[packages] [custom build]    |
[packages] [custom build]    = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[packages] [custom build]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[packages] [custom build] 
[packages] [custom build] 
[packages] [custom build] warning: `g1t-packages` (lib) generated 1 warning
[packages] [custom build]     Finished `release` profile [optimized] target(s) in 24.72s
[packages] [custom build] 
[packages] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[packages] [custom build] 
[packages] [custom build] [INFO]: :-)Done in 28.15s
[packages] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/packages/build/.tmp.
[packages] [custom build] 
[packages] [custom build] 
[packages] [custom build]   index.js  30.4kb
[packages] [custom build] 
[packages] [custom build] ⚡ Done in 11ms
[packages] [custom build] 
[packages] Total Upload: 3190.61 KiB / gzip: 876.72 KiB
[packages] Worker Startup Time: 4 ms
[packages] Your Worker has access to the following bindings:
[packages] Binding                                                            Resource                  
[packages] env.DB (g1t-packages)                                              D1 Database               
[packages] env.BLOBS (g1t-packages)                                           R2 Bucket                 
[packages] env.IDENTITY (g1t-identity)                                        Worker                    
[packages] env.REPOS (g1t-repos)                                              Worker                    
[packages] env.EVENTS (g1t-events)                                            Worker                    
[packages] env.BILLING (g1t-billing)                                          Worker                    
[packages] env.ANONYMOUS_LIMIT (300 requests/60s)                             Rate Limit                
[packages] env.SIGNED_LIMIT (5000 requests/60s)                               Rate Limit                
[packages] env.BLOB_STORE ("r2")                                              Environment Variable      
[packages] env.R2_ACCOUNT_ID ("1e6f2cffa3f445920836e8ebe446bb58")             Environment Variable      
[packages] env.R2_BUCKET ("g1t-packages")                                     Environment Variable      
[packages] env.MAX_REQUEST_BYTES ("100000000")                                Environment Variable      
[packages] env.REGISTRY_HOST ("g1t.sh")                                       Environment Variable      
[packages] env.STORAGE_LIMITS ("on")                                          Environment Variable      
[packages] env.PROTECTED_WORKSPACES ("flagon-io")                             Environment Variable      
[packages] Uploaded g1t-packages (2.01 sec)
[packages] Deployed g1t-packages triggers (1.37 sec)
[packages]   schedule: 37 * * * *
[packages]   Consumer for g1t-events-packages
[packages] Current Version ID: 774a97ac-0169-4a53-8024-41d93ca1de41

unit          stage  result  version                               time    note
------------  -----  ------  ------------------------------------  ------  ----
events        core   ok      ade071ac-b2e0-4d0f-8785-b0f967525ef8  99.7s
work          core   ok      378ef9d3-f633-4a88-aa44-c453fe0f82a2  150.6s
integrations  core   ok      f7a23122-dbac-4904-b07f-b799c178a153  60.8s
packages      core   ok      774a97ac-0169-4a53-8024-41d93ca1de41  35.9s

Deployed in 189.3s.
##[group]sccache's hits and misses
bash scripts/sccache.sh stats
##[endgroup]
shell: bash -e /home/runner/_temp/18d8a2d0616ab112.sh
Compile requests                      16
Compile requests executed              5
Cache hits                             2
Cache hits (Rust)                      2
Cache misses                           3
Cache misses (Rust)                    3
Cache hits rate                    40.00 %
Cache hits rate (Rust)             40.00 %
Cache timeouts                         0
Cache read errors                      0
Forced recaches                        0
Cache write errors                     1
Cache errors                           0
Compilations                           3
Compilation failures                   0
Non-cacheable compilations             0
Non-cacheable calls                   11
Non-compilation calls                  0
Unsupported compiler calls             0
Average cache write                1.484 s
Average compiler                  18.910 s
Average cache read hit             0.493 s
Failed distributed compilations        0

Non-cacheable reasons:
-                                      4
crate-type                             4
missing input                          3

Cache location                  ghac, name: sccache-v0.18.0, prefix: /sccache/
Base directories                (none)
Version (client)                0.18.0
Cache saved with key: cargo-target-Linux-rust-1-03d58889b77f694c0139d2cbca29812b93979916a9f7da6d6eb5d2261402a978 (129.9 MB, packed in 1.2s, sent in 9.0s)
